import request from "../request";

// 获取区域的河道编码
export const findMenuCodes = (roleCode: string) => {
    return request({
        url: "/ct/rolemenucon/findMenuCodes?roleCode=" + roleCode,
        method: 'GET'
    })
}

// 获取区域的河道编码
export const update = (params: Object) => {
    return request({
        url: "/ct/rolemenucon/update",
        method: 'POST',
        data: params
    })
}

export default {
    findMenuCodes, update
}